<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	<%@ page import="bean.*" language="java"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Game</title>
<link href="css/tcss.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
	<div class="container">
		<div class="header">
			<img src="images/header.jpg"></img>
		</div>
		<div class="topMenu">
			<%@ include file="/WEB-INF/logged/infoBar.jsp"%>
		</div>
		<div class="sideMenu">
			<%@ include file="/WEB-INF/logged/menu.jsp"%>
		</div>
		<div class="center">
			<% CharacterBEAN characterBEAN = (CharacterBEAN) request.getAttribute( "foundUser" ); %>
			<% EquipmentBEAN equipmentBEAN = (EquipmentBEAN) request.getAttribute( "foundEquipment" ); %>
			<form name="editUser" action="Admin" method="post">
				<input type="hidden" name="action" value="editUser">
				<input type="hidden" name="id" value="<% out.print( characterBEAN.getCharacterID(  )); %>">
				<table>
					<tr>
						<td>Name:</td>
						<td><% out.print( characterBEAN.getCharName(  )); %></td>
						<td> Sniper:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isSniperRifle(  )); %>" name="sniper" size="10"></td>
					</tr>
					<tr>
						<td>Experience:</td>
						<td><input type="text" value="<% out.print( characterBEAN.getExperience(  )); %>" name="experience" size="10"></td>
						<td> uziSMG:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isUziSMG(  )); %>" name="uziSMG" size="10"></td>
					</tr>
					<tr>
						<td>money cash:</td>
						<td><input type="text" value="<% out.print( characterBEAN.getMoneyCash(  )  ); %>" name="moneyCash" size="10"></td>
						<td> Desert eagle:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isDesertEagle(  )); %>" name="desertEagle" size="10"></td>
					</tr>
					<tr>
						<td>money bank:</td>
						<td><input type="text" value="<% out.print( characterBEAN.getMoneyBank(  )  ); %>" name="moneyBank" size="10"></td>
						<td> Barak SP21:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isBarakSP21(  )); %>" name="barakSP21" size="10"></td>
					</tr>
					<tr>
						<td>Shoot experience:</td>
						<td><input type="text" value="<% out.print( characterBEAN.getShootExperience(  )  ); %>" name="shootExperience" size="10"></td>
						<td> Colt M1911:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isColtM1911(  )); %>" name="coltM1911" size="10"></td>
					</tr>
					<tr>
						<td>Respect:</td>
						<td><input type="text" value="<% out.print( characterBEAN.getRespect(  )  ); %>" name="respect" size="10"></td>
						<td> Knife:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isKnife(  )); %>" name="knife" size="10"></td>
					</tr>
					<tr>
						<td>VIP:</td>
						<td><input type="text" value="<% out.print( characterBEAN.isVip(  )  ); %>" name="vip" size="10"></td>
						<td> Armor:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isBulletFreeArmor(  )); %>" name="bulletFreeArmor" size="10"></td>
					</tr>
					<tr>
						<td>Admin:</td>
						<td><input type="text" value="<% out.print( characterBEAN.isAdministrator(  )  ); %>" name="admin" size="10"></td>
						<td> Helmet:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isBulletFreeHelmet(  )); %>" name="bulletFreeHelmet" size="10"></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td> BombArmor:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.isBombArmor(  )); %>" name="bombArmor" size="10"></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td> Bodyguards:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.getBodyguard(  )); %>" name="bodyguard" size="10"></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td> Bullets:</td>
						<td><input type="text" value="<% out.print( equipmentBEAN.getBullet(  )); %>" name="bullet" size="10"></td>
					</tr>
					<tr>
						<td></td>
						<td><input type="submit" value="Confirm" style="background-color: #C0C0C0"></td>
						<td></td>
						<td></td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
</html>